package com.ruoyi.pidaijiData.domain.plat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 皮带机称重测试数据对象 data_pidaiji_chengzhong
 * 
 * @author ruoyi
 * @date 2024-03-04
 */
public class DataPidaijiChengzhong extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 称重id */
    private Long czId;

    /** 任务id */
    @Excel(name = "任务id")
    private Long dataTaskId;

    /** 平板id */
    private Long id;

    /** 平板任务id */
    @Excel(name = "平板任务id")
    private Long taskId;

    /** 输送质量 */
    @Excel(name = "输送质量")
    private String zhl;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCzId(Long czId) 
    {
        this.czId = czId;
    }

    public Long getCzId() 
    {
        return czId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setZhl(String zhl) 
    {
        this.zhl = zhl;
    }

    public String getZhl() 
    {
        return zhl;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("czId", getCzId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("zhl", getZhl())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
